<!-- 多选题 -->

<template>
  <div class="flex1">
    <OurTitle v-bind="$props" />

    <div v-for="option in obj.optionList" :key="option.key" class="DetailQuestionnaire-flex">
      <div>
        <el-checkbox :value="false" disabled>{{ option.label }}</el-checkbox>
      </div>

      <div>
        <el-image v-for="img in option.imgList" :key="img" :src="img" :previewSrcList="option.imgList" />
      </div>
      <div class="flex1">
        <div class="el-input__inner">{{ obj.content }}</div>
      </div>

      <div>关联</div>
      <div style="width: 200px">
        <div class="el-input__inner">
          <b>{{ option.related.replace(/,/g, ', ') }}</b>
        </div>
      </div>
    </div>

    <div class="DetailQuestionnaire-flex">
      <div class="DetailQuestionnaire-remark">底部备注</div>
      <OurRemark v-bind="$props" />

      <div>项数</div>
      <div style="width: 90px">
        <div class="el-input__inner">{{ obj.min }}</div>
      </div>
      <div style="width: 90px">
        <div class="el-input__inner">{{ obj.max }}</div>
      </div>
    </div>
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import MyRadio from '../MyRadio'

// ============================== 导出组件 ============================== //

export default CORE.extend(MyRadio, {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MyCheckbox',
})
</script>
